<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="{{url_for('static',filename='style.css')}}" type="text/css">
    <title>{{ user.username }}的电影列表</title>
</head>
<body>
    <h2>
        <img alt="Avatar" class="avatar" src="{{url_for('static',filename='images/head.png')}}">
        {{ user.username }} 观看的电影列表</h2>
    <p>观看了 {{ movies|length }} 部电影，电影名字如下: </p>
    <ul class="movie-list">
        {% for movie in movies %}
        <li>电影名字: {{ movie.title }} , 上映时间: {{ movie.year }}</li>
        {% endfor %}
    </ul>
    <img alt="Totoro" class="totoro" src="{{url_for('static',filename='images/totoro.gif')}}"
</body>
</html>

